import SwiftUI
import CalendarShared

public struct SmallDayView: View {
    public let entry: SmallEntry
    @Environment(\.colorScheme) var colorScheme

    public init(entry: SmallEntry) {
        self.entry = entry
    }
    
    public var body: some View {
        DayView(style: .date(entry))
            .widgetBackground(entry.background.color(colorScheme))
    }
}
